export function getRecordObject(resources, ...args) {
  const res = {};

  console.log(resources);

  args.forEach((resource) => {
    res[resource] = resources.records;
  });
  return res;
}
